<div class="span4">
    <div class="well sidebar-nav">
        <ul class="nav nav-list side_bar">
            <li class="nav-header s_top_b"><?php echo $title;?></li>
            <?php
            if (isset($news) && count($news) > 0) :
                foreach ($news as $item) :
                    $uri            = get_base_url() . url_title(trim($item->category), 'dash', TRUE) . '/' . url_title(trim($item->title), 'dash', TRUE) . '-n' . $item->cat_id . '-' . $item->id;
            ?>
            <li>
                <a href="<?php echo $uri; ?>">
                    <span><img style="width: 60px; height: 33px;" src="<?php echo $item->thumbnail;?>" class="img-polaroid" style="padding-right: 4px;"></span>
                     <?php echo $item->title; ?>
                </a>
            </li>
            <?php endforeach;endif;?>
        </ul>
    </div>
</div>